package models;

public class Projectile extends Tower{
	
	private TYPE projectileType;
	
	//Construtor
	public Projectile(TYPE type, int xPos, int yPos) {
		super(type, xPos, yPos);
		switch(type){
		case TORRE1:
			this.projectileType = TYPE.HIT_ONE;
			break;
		case TORRE2:
			this.projectileType = TYPE.HIT_TWO;
		case TORRE3:
			this.projectileType = TYPE.HIT_FOUR;
			break;
		default:
			break;
		}
	}
	
	//Getters
	@Override
	public TYPE getType(){
		return projectileType;
	}

}
